/**
 * 
 */
package org.cnbi.utils.pojo.indicator;


import org.cnbi.entity.IndicatorExpression;
import org.cnbi.utils.pojo.AbstractorDim;

/**
 * Copyright © 2014中国经邦. All rights reserved.
 * 
 * @author 龚佳新
 * @date 2014年5月10日下午4:57:51
 * @cnbi-utils
 */
public class IndicatorDimBean extends AbstractorDim {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer indicator;
	
	private String companyName;
	
	private String periodName;
	
	

	private IndicatorExpression indicatorBean;
	
	

	public IndicatorDimBean() {
	}



	/**
	 * @param company
	 * @param indicator
	 * @param period
	 */
	public IndicatorDimBean(Integer indicator, String company, String period) {
		super();
		this.company = company;
		this.indicator = indicator;
		this.period = period;
	}

	/**
	 * @param company
	 * @param indicator
	 * @param period
	 */
	public IndicatorDimBean(Integer indicator, String company, String period, IndicatorExpression indicatorBean) {
		super();
		this.company = company;
		this.indicator = indicator;
		this.period = period;
		this.indicatorBean = indicatorBean;
	}

	/**
	 * @return the company
	 */
	public String getCompany() {
		return company;
	}

	/**
	 * @param company
	 *            the company to set
	 */
	public void setCompany(String company) {
		this.company = company;
	}

	/**
	 * @return the indicator
	 */
	public Integer getIndicator() {
		return indicator;
	}

	/**
	 * @param indicator
	 *            the indicator to set
	 */
	public void setIndicator(Integer indicator) {
		this.indicator = indicator;
	}

	/**
	 * @return the period
	 */
	public String getPeriod() {
		return period;
	}

	/**
	 * @param period
	 *            the period to set
	 */
	public void setPeriod(String period) {
		this.period = period;
	}

	/**
	 * @return the indicatorBean
	 */
	public IndicatorExpression getIndicatorBean() {
		return indicatorBean;
	}

	/**
	 * @param indicatorBean
	 *            the indicatorBean to set
	 */
	public void setIndicatorBean(IndicatorExpression indicatorBean) {
		this.indicatorBean = indicatorBean;
	}
	
	

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * @return the periodName
	 */
	public String getPeriodName() {
		return periodName;
	}

	/**
	 * @param periodName the periodName to set
	 */
	public void setPeriodName(String periodName) {
		this.periodName = periodName;
	}
	
	
	
	
	

	/**
	 * @return the cacheKey
	 */
	public String getCacheKey() {
		return this.toString();
	}






	/*
	 * @data 2014年5月10日 复写的方法
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return indicator + company + period;
	}

}
